cmake_minimum_required(VERSION 3.6)
project(liveness)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")

set(SOURCE_FILES detect_test.cpp)

add_executable(liveness ${SOURCE_FILES})
include_directories(/home/dmsoft/ClionProjects/liveness/head)
find_package(OpenCV REQUIRED)

target_link_libraries(liveness ${OpenCV_LIBS})
target_link_libraries(liveness /home/dmsoft/ClionProjects/liveness/lib/libytcommon.so)
target_link_libraries(liveness /home/dmsoft/ClionProjects/liveness/lib/libytcommon_1.2.so)
target_link_libraries(liveness /home/dmsoft/ClionProjects/liveness/lib/libYTFaceLiveness3D.so)
target_link_libraries(liveness /home/dmsoft/ClionProjects/liveness/lib/libYTFaceTrackProSDK.so)